.class final Lcom/mobisage/android/w;
.super Lcom/mobisage/android/G;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/mobisage/android/w$a;,
        Lcom/mobisage/android/w$b;
    }
.end annotation


# static fields
.field private static c:Lcom/mobisage/android/w;


# instance fields
.field private d:Lorg/json/JSONObject;

.field private e:Lcom/mobisage/android/w$b;

.field private f:Lcom/mobisage/android/w$a;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 19
    new-instance v0, Lcom/mobisage/android/w;

    invoke-direct {v0}, Lcom/mobisage/android/w;-><init>()V

    sput-object v0, Lcom/mobisage/android/w;->c:Lcom/mobisage/android/w;

    return-void
.end method

.method private constructor <init>()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 28
    invoke-direct {p0}, Lcom/mobisage/android/G;-><init>()V

    .line 29
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    iput-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    .line 31
    new-instance v0, Lcom/mobisage/android/u;

    iget-object v1, p0, Lcom/mobisage/android/w;->a:Landroid/os/Handler;

    invoke-direct {v0, v1}, Lcom/mobisage/android/u;-><init>(Landroid/os/Handler;)V

    .line 32
    iget-object v1, p0, Lcom/mobisage/android/w;->b:Ljava/util/concurrent/ConcurrentHashMap;

    iget v2, v0, Lcom/mobisage/android/u;->c:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 34
    new-instance v0, Lcom/mobisage/android/w$a;

    invoke-direct {v0, p0, v3}, Lcom/mobisage/android/w$a;-><init>(Lcom/mobisage/android/w;B)V

    iput-object v0, p0, Lcom/mobisage/android/w;->f:Lcom/mobisage/android/w$a;

    .line 36
    new-instance v0, Lcom/mobisage/android/w$b;

    invoke-direct {v0, p0, v3}, Lcom/mobisage/android/w$b;-><init>(Lcom/mobisage/android/w;B)V

    iput-object v0, p0, Lcom/mobisage/android/w;->e:Lcom/mobisage/android/w$b;

    .line 38
    :try_start_0
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    const-string v1, "intervaltime"

    const/16 v2, 0xf

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 39
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    const-string v1, "adanimation"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 40
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    const-string v1, "adswitch"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    .line 41
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    const-string v1, "intervalswitchtype"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 42
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    const-string v1, "intervalcountlimit"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 43
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    const-string v1, "enablelocation"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 46
    :goto_0
    invoke-static {}, Lcom/mobisage/android/R;->a()Lcom/mobisage/android/R;

    move-result-object v0

    iget-object v1, p0, Lcom/mobisage/android/w;->e:Lcom/mobisage/android/w$b;

    invoke-virtual {v0, v1}, Lcom/mobisage/android/R;->a(Lcom/mobisage/android/Q;)V

    .line 47
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method static synthetic a(Lcom/mobisage/android/w;)Lcom/mobisage/android/w$a;
    .locals 1
    .parameter

    .prologue
    .line 18
    iget-object v0, p0, Lcom/mobisage/android/w;->f:Lcom/mobisage/android/w$a;

    return-object v0
.end method

.method public static a()Lcom/mobisage/android/w;
    .locals 1

    .prologue
    .line 22
    sget-object v0, Lcom/mobisage/android/w;->c:Lcom/mobisage/android/w;

    return-object v0
.end method

.method static synthetic a(Lcom/mobisage/android/w;Lorg/json/JSONObject;)Lorg/json/JSONObject;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 18
    iput-object p1, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    return-object p1
.end method


# virtual methods
.method public final a(Ljava/lang/String;)Ljava/lang/Object;
    .locals 2
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 50
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    invoke-virtual {v0, p1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    move-object v0, v1

    .line 55
    :goto_0
    return-object v0

    .line 53
    :cond_0
    :try_start_0
    iget-object v0, p0, Lcom/mobisage/android/w;->d:Lorg/json/JSONObject;

    invoke-virtual {v0, p1}, Lorg/json/JSONObject;->get(Ljava/lang/String;)Ljava/lang/Object;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    goto :goto_0

    .line 55
    :catch_0
    move-exception v0

    move-object v0, v1

    goto :goto_0
.end method
